import { request } from "@/utils/service"

export function getShopList(data: any) {
  return request({
    url: "/bg/shop/getShopList",
    method: "post",
    data
  })
}

export function batchDeleteShop(data: any) {
  return request({
    url: "/bg/shop/batchDeleteShop",
    method: "post",
    data
  })
}

export function getShopCommunicateList(data: any) {
  return request({
    url: "/bg/shop/getShopCommunicateList",
    method: "post",
    data
  })
}

export function communicateSaveOrUpdate(data: any) {
  return request({
    url: "/bg/shop/communicateSaveOrUpdate",
    method: "post",
    data
  })
}

export function deleteShopCommunicateById(data: any) {
  return request({
    url: "/bg/shop/deleteShopCommunicateById",
    method: "post",
    data
  })
}

export function shopSaveOrUpdate(data: any) {
  return request({
    url: "/bg/shop/shopSaveOrUpdate",
    method: "post",
    data
  })
}

export function getShopDetailByShopId(data: any) {
  return request({
    url: "/bg/shop/getShopDetailByShopId",
    method: "post",
    data
  })
}

export function getShopByProvince(data: any) {
  return request({
    url: "/bg/shop/getShopByProvince",
    method: "post",
    data
  })
}

export function getShopPicList(data: any) {
  return request({
    url: "/bg/shop/getShopPicList",
    method: "post",
    data
  })
}

export function shopData(data: any) {
  return request({
    url: "/bg/shop/data/shopData",
    method: "post",
    data
  })
}

export function statistics(data: any) {
  return request({
    url: "/bg/shop/data/statistics",
    method: "post",
    data
  })
}




